package com.hdrx.fundhelper.dao.vo;

import com.hdrx.fundhelper.dao.dto.FundIncome;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.springframework.data.annotation.Id;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author: houdx
 * @description:
 * @date: 2023/6/19 15:53
 */
@Data
@Accessors(chain = true)
public class UserIncomeVO {

    /**
     * id
     */
    private Integer userId;

    /**
     * 用户名
     */
    private String userName;


    /**
     * 总收益
     */
    private BigDecimal allIncome;

    /**
     * 今日总收益
     */
    private BigDecimal todayAllIncome;

    /**
     * 基金收益
     */
    List<FundIncome> fundIncomeList;

    /**
     * 总收益率
     */
    private String allYieldRate;
}
